package com.online.college.core.pay.service;

import com.online.college.core.pay.domain.PayLog;
import com.online.college.core.pay.domain.PayOrders;

import java.util.List;

/**
 * 消息服务层
 */
public interface IPayLogService {

	/**
	 *根据id获取
	 **/
	public PayLog getById(String id);

	/**
	 *获取该用户所有定单
	 **/
	public List<PayLog> queryListByUserId(String userId);

	/**
	 * 创建新纪录
	 * @param payOrders
	 */
	public void createSelectivity(PayLog payOrders) ;

	/**
	 *根据id选择性更新自动
	 **/
	public void updatePayOrder(PayLog entity);

	/**
	 *物理删除
	 **/
	public void delete(PayLog entity);

	/**
	 *逻辑删除
	 **/
	public void deleteLogic(PayLog entity);
	
}

